﻿@defaultborder: 1px solid #B7B7B7;

// Clearfix
// --------
// For clearing floats like a boss h5bp.com/q
.clearfix {
  *zoom: 1;
  &:before,
  &:after {
    display: table;
    content: "";
    // Fixes Opera/contenteditable bug:
    // http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
    line-height: 0;
  }
  &:after {
    clear: both;
  }
}

body 
{
  margin: 0px;
  width: 100%; 
  height: 100%; 
  background-color: #ffffff;
  font-family: Arial, Helvetica, sans-serif; 
  font-size: 12px; 
  color: #000;
}

h1 
{
  font-size: 18px;
  color: #0E3B64;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #B7B7B7;
  padding-bottom: 5px;
  padding-top: 5px;
}

h2 
{
  font-size: 16px; 
  color: #000; 
  font-weight: bold;
}

h3 
{
  font-size: 16px; 
  color: #B60630; 
  font-weight: bold;
}

a 
{
  color: #026CAF;
  text-decoration: underline;
  cursor: pointer;
}
a:hover 
{
  color: #026CAF; 
  text-decoration: underline;
}

.clear
{
    clear: both;
}

[type=checkbox] { cursor: default; }
[type=radio] { cursor: default; }
[type=submit] { cursor: default; }
[type=button] { cursor: default; }

scrollbox > form
{
	height: auto;
}

.content-container
{
	margin: 10px;
	padding: 10px;
	border: @defaultborder;
}

.footer-container
{
    
    background-image: url(../Images/footer-bg.png);
    /* background-color: #C0C0C0; */
    padding: 7px 10px;
    position: fixed;
    height: 40px;
    width: 100%;
    bottom: 0px;
}

.record-count
{
	padding-bottom: 10px;	
	.box { display:inline; border:solid 1px gray; padding:0 5px 0 5px; }
}

.panelAction
{
	padding-bottom: 10px;
}

.searchData 
{
  border: 1px solid #666666;
  /*width: 100%;*/

	tr.row0, tr.row1, tr.row0Sel, tr.row1Sel, tr.footer, th
	{
		height: 22px;
	}
	tr.row0 { background: #F0F0F0; }
	tr.odd { background: #F0F0F0; }
	tr.row1 { background: #E6E6E6; }
	tr.even { background: #E6E6E6; }
	tr.row0Sel { background: #D4FFD4; }
	tr.row1Sel { background: #B4DDB4; }

	tr.row0Sel a, tr.row1Sel a { color: #333; }
	tr.header 
	{
		background: #C3C3C3;
		color: #333;
		font-weight: bold;
		text-align: left;
	}
	tr.header a 
	{
		color: black;
		text-decoration: none;
	}
	tr.footer
	{
		font-weight: bold;
	}
	th 
	{
		background: #C3C3C3;
		color: #333;
		font-weight: bold;
		text-align: left;
		vertical-align: middle;
		padding: 0 5px;
	}
	td
	{
		padding: 0 5px;
		vertical-align: middle;
		min-width: 60px;
	}
	td.check
	{
		min-width: 8px;
	}
	td.auto-min-width
	{
		min-width: inherit;
	}

	[type=submit] { background: #027ebc; color: #fff; border: none; }
}

.searchData
{
	tr th.center
	{
		text-align: center;
	}
	tr td div.taxname
	{
		float: left;
		min-width: 30px;
		text-align: left;
		padding-left: 5px;
	}
	tr td div.taxvalue
	{
		float: left;
		min-width: 50px;
		text-align: right;
		padding-right: 5px;
	}
}

.formview
{
}

.section
{
    border: @defaultborder;
    padding: 10px;
    margin-bottom: 10px;    
}
.section-title
{
	font-size: 14px; 
	font-weight: bold;
	padding-bottom: 10px;
}

.page-title
{
	position: relative;

	.item-name
	{
		position: absolute;
		right: 0px;
		top: 8px;
		font-size: 14px;
		color: #0e3b64;
	}
}

.messagePanel
{
	padding: 10px;
}

.menu-tabs
{
	ul
	{
		margin: 0px 0px 4px 0px;
		padding: 0px;
		list-style-type: none;
		border-bottom: 2px orange solid;

		li
		{
			float: left;
			margin: 0px 1px;
			background-color: #3096F0;

			a
			{
				display: inline-block;
				padding: 6px 12px;
				text-decoration: none;
				font-weight: normal;
				font-size: 14px;
				color: white;
			}
		}

		li:hover
		{
			background-color: #66B1F2;
		}

		li.active
		{
			background-color: #CF0A14;
		}

		li.active:hover
		{
			background-color: #E3767B;
		}
	}
}

.top-space
{
	padding-top: 20px !important;
}

.row
{
    padding-top: 10px;
    clear: both;

	.input.hidden
	{
		display: none;
	}
	.input.literal
	{
		padding-top: 5px;
	}

	.label
	{
		float: left;
		width: 150px;
		padding-right: 10px;
		text-align: right;
		line-height: 21px;
		margin: 2px 0px;
	}
	.alignleft
	{
		text-align: left;
	}

	.input,
	.input-fix-width,
	.calvalue
	{
		float: left;

		select { width: 200px; height: 21px; margin: 2px 0px; }
		select.short { width: 70px; }
		select.date { width: inherit; }
		textarea { width: 200px; height: 80px; }
		input[type=text] { width: 200px; }
		input.short { width: 70px; }
		input.long { width: 400px; }

		textarea.long { width: 400px; }
		textarea.long-both { width: 400px; height: 160px; }

		.image-selector { width: 202px; }
		.image-selector selector clickbutton table.matrix td.c, 
		.image-selector multiselector clickbutton table.matrix td.c {
			padding: 2px;
			padding-top: 0px;
			width: 190px;
		}

		input[type=checkbox],
		input[type=radio]
		{
			position: relative;
			top: 3px;
			margin-left: 3px;
			margin-right: 3px;
		}
		label
		{
			position: relative;
			top: 1px;
		}
		input[type=checkbox] + label,
		input[type=radio] + label 
		{ 
			padding-left: 2px;
			padding-right: 4px;
		}
		label + input[type=checkbox],
		label + input[type=radio]
		{ 
			margin-left: 10px;
	    }

		input.phonepart1 { width:50px; }
		input.phonepart2 { width:50px; }
		input.phonepart3 { width:70px; }
		input.phone { width:150px; }
		input.phone-extension { width:50px; }

	}

	.input + .input
    {
		padding-left: 10px;
	}
	.input.hidden + .input
    {
		padding-left: 0px;
	}

    .auto-width
    {
        width: auto !important;    
    }

    .label.auto-width
    {
		padding-right: 5px;
	}

	.auto-width + .input.auto-width
	{
		padding-right: 5px;
	}

	.input-fix-width
	{
		width: 300px;
	}
	
	.box-panel
	{
		float: left;
		width: 200px;    
	}
	.box-panel-large
	{
		float: left;
		width: 500px;

		div { line-height: 21px; }
	}
	.box-buttons-panel
	{
		float: left;  
		padding: 0 5px;
	}
	
	.errormessage
	{
		color: red;
		font-weight: bold;
		
	}

	.membership-sector-descr
    {
    	padding-left: 21px;
		width: 300px;
		padding-right: 10px;
    }

	.selectable-grid-panel
	{
	}
	.selectable-grid-button
	{
		padding: 0 10px;
		padding-top: 35px;
		height: 100px;
	}
}

.calculation
{
	.label
	{
		text-align: left;
    	width: 200px;
        padding-left: 10px;
	}
	.label.coupon
	{
		text-align: right;
		width: 150px;
        padding-right: 10px;
	}
	.calvalue
	{
		float: left;
		text-align: right;
		width: 200px;
		padding-right: 10px;
        margin-top: 5px;
	}
    .total
    {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}


.registration-optional-activities
{
	.ui-icon 
	{
		display: inline-block;
		position: relative;
		top: 3px;
	}

	.ui-accordion .ui-accordion-content 
	{
		padding: 10px;
	}

	.attendee-title
	{
		font-weight: bold;
		text-transform: uppercase;
	}

	.attendee-activities
	{
		.activities-table
		{
			border: 0px none;
			background-color: #f2f2f2;

			.group-header > td,
			.header > td,
			.row0 > td,
			.row1 > td
			{
				padding-top: 5px;
				padding-bottom: 5px;
			}

			.group-header
			{
				font-weight: bold;

				td
				{
					border: 0px none;
				}
			}

			.row0
			{
				background-color: #cccccc;
			}
			.row1
			{
				background-color: #e0e0e0;
			}

			.row-separator
			{
				.line
				{
					margin-top: 8px;
					background-color: black;
					height: 1px;
				}

				&:last-child
				{
					display: none;
				}
			}

			table.questions
			{
				.label
				{
					padding-right: 10px;
				}
			}
		}
	}
}


.dialog-button
{
	float: left;
	height: 33px;
	min-width: 65px;
	margin-top: 1px;
	padding: 0 10px;
}

//
// Alerts
// --------------------------------------------------
.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 20px;
  
  a {
	color: inherit;
  }
}
.alert-success {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-info {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-warning {
  //color: #c09853;
  //background-color: #fcf8e3;
  //border-color: #fbeed5;
  //color: #cf4109;
  color: #ac3b0e;
  background-color: #f7da92;
  border-color: #f6c284;
}
.alert-danger {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}
.formview
{
    input#txtSource
    {
        width: 320px;
    }
}


.manage-flowcat
{
    position: relative;
    
    #pnlFlowCats
    {
        width: 350px;
        min-height: 300px;
        overflow: auto;
    }
    #pnlGrid
    {
        width: 500px;
    }
    .loading-wrapper
    {
        height: 20px;
    }
    .loading
    {
        display: none;
    }
    
    table.display
    {
        width: 100%;
        
        thead
        {
            th
            {
                height: 22px;
            }
            th.cRowCount
            {
                width: 30px;
            }
            th.cUnit
            {
                width: 100px;
                text-align: center;
            }
            th.cDelete
            {
                width: 50px;
                text-align: center;
            }
            th.cID
            {
                display: none;
            }
            
            
            
            
        }
        tbody
        {
            tr
            {
                height: 22px;
            }
            td.cUnit
            {
                text-align: center;
            }
            td.cDelete
            {
                text-align: center;
            }
            td.cID
            {
                display: none;
            }
        }
        
        

    }
    a#lnkAddNewRow
    {
        display: none;
    }
    .assign-flow,
    .assign-system
    {
        background-color: #F0F0F0;
        border: 1px solid #666;
        padding: 10px;
        margin: 10px 0px;
        
        display: none;
        
        select#ddlFlows,
        select#ddlSystems
        {
            width: 200px;
        }
        .controls
        {
            margin-top: 10px;
        }
    }
}

input.button
{
    background: none repeat scroll 0 0 #027EBC;
    border: medium none;
    color: #FFFFFF;
}
 
 .btn
{
    cursor: pointer;
}
 
 .flow-editor
{
    
    input#txtName
    {
        width: 250px;
    }

}
.system-editor
{
    #txtAmount
    {
        width: 125px;
    }
    input#txtName
    {
        width: 250px;
    }
    .amount-validator
    {
        padding-top: 1px;
    }
}

.input-editor
{
    width: 100%;
    
}

.grid-block
{
    width: 50%;
    float: left;
    padding-right: 30px;
    
    table
    {
        width: 100%;
        tr
        {
            th.sorting,
            th.sorting_asc,
            th.sorting_desc
            {
                cursor: pointer;
            }
            
            th.cUnit
            {
                width: 50px;
            }
            th.cAmount
            {
                width: 80px;
            }
            th.cDelete
            {
                width: 120px;
            }
            
            td.cAmount
            {
                text-align: right;
            }
        }
    }
    input#btnEdit
    {
        margin-right: 5px;
    }
        
    input.button
    {
        margin: 5px;
    }
    
    &.transportation-b
    {
       // width: 500px;
    }
}
.impact-factors 
{
    .grid-block
    {
        width: 100%;
        table#gridImpactFactors
        {
            width: 100%;
            thead tr
            {
                th.cUnit,
                th.cEmission
                {
                    width: 140px;
                }
                th.cDelete
                {
                    width: 120px;
                }
                
            }
            tbody tr
            {
                td.cEmission
                {
                    text-align: right;
                }
            }
        }
    }
}



#input-modal
{
   width: 600px;
   padding: 10px;
   
    #txtAmountModal
    {
        width: 125px;
    }
   

    .label
    {
        width: 100px;
    }
    
    h1.header
    {
        margin-top: 0px;
        padding-top: 2px;
    }
}

.multi-inputs,
.multi-outputs
{
    .row
    {
        .label
        {
            width: 90px;
        }
        .unit
        {
            .label
            {
                width: 60px;
            }
        }
    }
   
    select.ddl-unit
    {
        width: 120px;
    }
    #txtAmountModal
    {
        width: 120px;
    }
    .input-row,
    .output-row
    {
        position: relative;
        a.lnkClose
        {
            position: absolute;
            right: 7px;
            top: 7px;
        }
        .section
        {
           // padding-bottom: 0px;
        }
    }
    
}


#transport-a-modal
{
   width: 600px;
   padding: 10px;
   
    #txtTAAmount
    {
        width: 125px;
    }
    .label
    {
        width: 100px;
    }
    h1.header
    {
        margin-top: 0px;
        padding-top: 2px;
    }
}

#transport-b-modal
{
   width: 600px;
   padding: 10px;
   
    #txtDistance, #txtKgLoad
    {
        width: 125px;
    }
    .label
    {
        width: 100px;
    }
    h1.header
    {
        margin-top: 0px;
        padding-top: 2px;
    }
}

#impact-factor-modal
{
   width: 600px;
   padding: 10px;
   
   select#ddlIFFlows
   {
        width: 400px;
    }
    #txtEmission
    {
        width: 125px;
    }
    .label
    {
        width: 100px;
    }
    h1.header
    {
        margin-top: 0px;
        padding-top: 2px;
    }
}

.multi-flows
{
    
    .flow-row
    {
        width: 650px;
        position: relative;
        input#txtName
        {
            width: 250px;
        }
        select.ddl-unit
        {
            width: 160px;
        }
    
        .row
        {
            .label
            {
                width: 60px;
            }
            .unit
            {
                .label
                {
                    width: 80px;
                }
            }
        }
        
        a.lnkClose
        {
            position: absolute;
            right: 7px;
            top: 7px;
        }
    }
}